<!DOCTYPE html>
<svg>
  <linearGradient id="g">
    <stop stop-color="green"/>
  </linearGradient>
  <use href="resources/rect100x100.svg#rect" fill="url(#g) red"/>
</svg>
